Skip to content

Conversation

@agustinbusso
Copy link
Contributor

@agustinbusso agustinbusso commented Oct 20, 2025

Issue & Reproduction Steps

  • Enter into a screen.
  • Set up a calculated property and add a console.log with the code that references the magic variable this._request.name.
  • Run a case.
  • Inside the request, go to the Data tab and search for the _request variable → the name is correctly defined there.
  • Open the browser console → check the values printed from the calculated property.

Current Behavior:
The magic variable _request.id is obtained correctly inside calculated properties and visibility rules, but _request.name is not. Instead of showing the process name, it returns undefined.

Expected Behavior:
Both _request.id and _request.name should be accessible and return the corresponding values inside calculated properties and visibility rules.

Solution

  • Added name attribute in defaultfields for processRequest

Working video

Screen.Recording.2025-10-20.at.12.39.51.mov

How to Test

  • Follow steps above

Related Tickets & Packages

Code Review Checklist

  • I have pulled this code locally and tested it on my instance, along with any associated packages.
  • This code adheres to ProcessMaker Coding Guidelines.
  • This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
  • This solution fixes the bug reported in the original ticket.
  • This solution does not alter the expected output of a component in a way that would break existing Processes.
  • This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
  • This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
  • This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
  • This ticket conforms to the PRD associated with this part of ProcessMaker.

@agustinbusso agustinbusso requested a review from caleeli October 20, 2025 15:53
@processmaker-sonarqube
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Copy link
Contributor

@gustavobascope gustavobascope left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@nolanpro nolanpro merged commit ae27fd4 into develop Oct 27, 2025
16 of 18 checks passed
@nolanpro nolanpro deleted the bugfix/FOUR-26739 branch October 27, 2025 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants